package com.ocom.common.request.payconfig;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.vo.ugcapi.GzhUserInfo;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class GzhRefundQueryRequest {

    Long comId;
    @JsonProperty("pId")
    Long pId;

    @Min(1)
    @NotNull(message = "page 不能为空")
    Integer page = 1;
    @NotNull(message = "size 不能为空")
    Integer size = 50;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    Date startTime;

    // 组合  已充值  1- 10  退款中   5-11
    Integer payState = 1;
    Integer consState = 10;

    private GzhUserInfo userInfo;
}
